using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Content;

namespace TimeWar
{
    /// <summary>
    /// This is a game component that implements IUpdateable.
    /// </summary>
    public abstract class CurrGameComponent : Microsoft.Xna.Framework.GameComponent
    {
        public CurrGameComponent(Game game)
            : base(game)
        {
            // TODO: Construct any child components here
        }

        /// <summary>
        /// Allows the game component to perform any initialization it needs to before starting
        /// to run.  This is where it can query for any required services and load content.
        /// </summary
        public abstract void Initialize();

        protected void gameComponentInitialize()
        {
            base.Initialize();
        }

        /// <summary>
        /// Allows the game component to update itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public abstract void Update(GameTime gameTime);

        protected void gameComponentUpdate(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public abstract void Draw(GraphicsDeviceManager graphics, GameTime gameTime);

        public abstract void LoadContent(GraphicsDevice graphicsDevice);


    }
}